package com.telit.firecommand.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;


/**
 * 叙简部门表
 *
 * @author yuezhuang
 * @date 2022-10-14
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "XjDept", description = "叙简部门表")
public class XjDept implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "ID", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createdAt;

    @ApiModelProperty(value = "创建人", required = true)
    private Long createdBy;

    @ApiModelProperty(value = "修改时间", required = true)
    private Date updatedAt;

    @ApiModelProperty(value = "修改人", required = true)
    private Long updatedBy;

    @ApiModelProperty(value = "逻辑删除标记", required = true, allowableValues = "true,false", hidden = true)
    private boolean deleted;

    @ApiModelProperty(value = "版本号", required = true)
    private Long version;

    @ApiModelProperty(value = "叙简 父Id", required = true)
    private Long parentId;

    @ApiModelProperty(value = "叙简 Id")
    private String xjId;

    @ApiModelProperty(value = "叙简 父Id")
    private String xjParentId;

    @ApiModelProperty(value = "叙简 父名称")
    private String xjParentName;

    @ApiModelProperty(value = "叙简 部门名称")
    private String xjDeptName;

    @ApiModelProperty(value = "叙简 部门类型")
    private String xjDeptType;

    @ApiModelProperty(value = "叙简 部门描述")
    private String xjDeptDesc;

    @ApiModelProperty(value = "叙简 组织编码")
    private String xjOrgCode;

    @ApiModelProperty(value = "叙简 是否激活：true/false")
    private boolean xjIsActive;

    @ApiModelProperty(value = "叙简 区域编码")
    private String xjAreaCode;

    @ApiModelProperty(value = "叙简 简称")
    private String xjShortName;

    @ApiModelProperty(value = "叙简 电话")
    private String xjCorpTel;

    @ApiModelProperty(value = "叙简 地址")
    private String xjCorpAddr;

    @ApiModelProperty(value = "叙简 排序")
    private Integer xjSortIndex;

}
